package com.ys.service.impl;

import com.ys.model.dao.PictureMapper;
import com.ys.service.PictureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class PictureServiceImpl implements PictureService {
    @Autowired
    PictureMapper pictureMapper;
    @Override
    public List<String> getPNameByRid(int rId) {
        return pictureMapper.getPNameByRid(rId);
    }

    @Override
    public List<String> getPNameByMid(int mId) {
        return pictureMapper.getPNameByMid(mId);
    }

    @Override
    public List<String> getPNameByCid(int cId) {
        return pictureMapper.getPNameByCid(cId);
    }
}
